package test;

import java.awt.Component;

import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class MyComponent extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8083404005939355000L;
	
	JComponent textField = new JTextField(10);
	
	public MyComponent(Component component1, Component component2) {
		this.add(component1);
		this.add(component2);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		

	}

	

}
